import 'package:flutter/material.dart';
import 'package:moose_app/ui/values/values.dart';

class ATHSearchHistoryTitle extends StatelessWidget {
  final String text;

  final IconData icon;

  ATHSearchHistoryTitle({this.text, this.icon});

  @override
  Widget build(BuildContext context) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        Text(
          text ?? "",
          style: TextStyle(
              color: kColor33,
              fontSize: kFontSize32,
              fontWeight: FontWeight.bold),
        ),
        Icon(
          icon,
          color: kColorF1,
        )
      ],
    );
  }
}
